<!DOCTYPE html>
<!-- saved from url=(0058)http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>apt get_Qt4_on_the_Raspberry_Pi | Qt Wiki | Qt Project</title>
<meta name="keywords" content="solved, qml, qt quick, howto, qt creator, symbian, learning, windows, tutorial, wiki, mobility api, linux, problem, build, binding, example, qt webkit, please rename, qmake, python, error, forum, mobile, embedded, pyside, getting started, mac os, plugin, ">
<meta name="description" content="Forum, Wiki, FAQ, Groups - the official Qt community site. Here you can get started with Qt, read tutorials, find solutions to your challenges and get up to date on the latest developments.">
<!-- generated by seo_lite -->

<meta name="robots" content="INDEX,FOLLOW">
<link rel="icon" href="http://qt-project.org/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://qt-project.org/favicon.ico" type="image/x-icon">
<link rel="canonical" href="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project.html">
<link rel="stylesheet" type="text/css" href="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/style-min0512201215101354716658.css" media="all">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="/static/styles/cdk_style_ie6-min0512201215101354716658.css"/><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="/static/styles/cdk_style_ie7-min0512201215101354716658.css" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/static/styles/ie7-min0512201215101354716658.css" media="all" /><![endif]-->
<!--[if IE]><link rel="stylesheet" type="text/css" href="/static/styles/ie-min0512201215101354716658.css" media="all" /><![endif]-->



<script type="text/javascript">

function imgFitOnLoad(imgId)
{var maxWidth=720;var img=imgId;var width=img.clientWidth;if(width>maxWidth)
{var sized=maxWidth/width;var height=img.clientHeight*sized;img.width=maxWidth;img.height=height;}}

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-4457116-4']);
  _gaq.push(['_trackPageview']);
  
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
  })();

</script><script type="text/javascript" async="" src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/ga.js"></script>

<script src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/global0512201215101354716658-min.js" async="true"></script><script type="text/javascript" src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/saved_resource"></script><style type="text/css">.gssb_c{border:0;position:absolute;z-index:989}.gssb_e{border:1px solid #ccc;border-top-color:#d9d9d9;box-shadow:0 2px 4px rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);cursor:default}.gssb_f{visibility:hidden;white-space:nowrap}.gssb_k{border:0;display:block;position:absolute;top:0;z-index:988}.gsdd_a{border:none!important}.gsib_a{width:100%;padding:4px 6px 0}.gsib_a,.gsib_b{vertical-align:top}.gssb_a{padding:0 7px}.gssb_a,.gssb_a td{white-space:nowrap;overflow:hidden;line-height:22px}#gssb_b{font-size:11px;color:#36c;text-decoration:none}#gssb_b:hover{font-size:11px;color:#36c;text-decoration:underline}.gssb_g{text-align:center;padding:8px 0 7px;position:relative}.gssb_h{font-size:15px;height:28px;margin:0.2em;-webkit-appearance:button}.gssb_i{background:#eee}.gss_ifl{visibility:hidden;padding-left:5px}.gssb_i .gss_ifl{visibility:visible}a.gssb_j{font-size:13px;color:#36c;text-decoration:none;line-height:100%}a.gssb_j:hover{text-decoration:underline}.gssb_l{height:1px;background-color:#e5e5e5}.gssb_m{color:#000;background:#fff}.gscsep_a{display:none}.gsq_a{padding:0}.gsfe_a{border:1px solid #b9b9b9;border-top-color:#a0a0a0;box-shadow:inset 0px 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0px 1px 2px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0px 1px 2px rgba(0,0,0,0.1);}.gsfe_b{border:1px solid #4d90fe;outline:none;box-shadow:inset 0px 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0px 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:inset 0px 1px 2px rgba(0,0,0,0.3);}.gscb_a{display:inline-block;font:27px/13px arial,sans-serif}.gsst_a .gscb_a{color:#a1b9ed;cursor:pointer}.gsst_a:hover .gscb_a,.gsst_a:focus .gscb_a{color:#36c}.gsst_a{display:inline-block}.gsst_a{cursor:pointer;padding:0 4px}.gsst_a:hover{text-decoration:none!important}.gsst_b{font-size:16px;padding:0 2px;user-select:none;-webkit-user-select:none;white-space:nowrap}.gsst_e{opacity:0.55;}.gsst_a:hover .gsst_e,.gsst_a:focus .gsst_e{opacity:0.72;}.gsst_a:active .gsst_e{opacity:1;}.gsst_f{background:white;text-align:left}.gsst_g{background-color:white;border:1px solid #ccc;border-top-color:#d9d9d9;box-shadow:0 2px 4px rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);margin:-1px -3px;padding:0 6px}.gsst_h{background-color:white;height:1px;margin-bottom:-1px;position:relative;top:-1px}.gssb_a{padding:0 7px}.gssb_e{border:0}.gssb_l{margin:5px 0}.gssb_c .gsc-completion-container{position:static}.gssb_c{z-index:5000}.gsc-completion-container table{background:transparent;font-size:inherit;font-family:inherit}.gssb_c > tbody > tr,.gssb_c > tbody > tr > td,.gssb_d,.gssb_d > tbody > tr,.gssb_d > tbody > tr > td,.gssb_e,.gssb_e > tbody > tr,.gssb_e > tbody > tr > td{padding:0;margin:0;border:0}.gssb_a table,.gssb_a table tr,.gssb_a table tr td{padding:0;margin:0;border:0}</style><script src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/wiki0512201215101354716658-min.js" async="true"></script><script type="text/javascript" src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/search.I.js"></script></head>

<body>

<div id="topnotice-container"></div>
<!--[if gte IE 9]>
  <style type="text/css">
    .gradient {
       filter: none;
    }
  </style>
<![endif]-->

<!--[if lte IE 6]>
<div id="topnotice-padding">
  <div id="topnotice">
	<div class="topnotice-inner">
      <p><strong>Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites.</strong></p>
      <p><a href="http://browser-update.org/update.html" target="_blank">Learn how to update your browser</a>.</p>
	</div>
  </div>
</div>  
<![endif]-->

<div class="wrapper">

  <div class="header-wrapper">
    <div class="header-container header-container-dynamicwidth ">
      <div id="nav-logo"><a href="http://qt-project.org/" title="Qt Project">Home</a></div>
      <div id="nav-logotext"><a href="http://qt-project.org/" title="Qt Project">Qt Project</a></div>
      <div id="nav-topright">
        <ul>
          <li class="nav-topright-home"><a href="http://qt-project.org/">Qt PROJECT HOME</a></li>
          <li class="nav-topright-dev"><a href="http://qt.digia.com/">Qt BY DIGIA</a></li>
          <li class="nav-topright-doc"><a href="http://qt-project.org/doc/">DOC</a></li>
          <li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
        </ul>
      </div>
      
      <!-- Header navigation area -->
      <div id="nav-main">
        <div id="nav-main-left">
          <!-- Main navigation -->
          <ul class="main-navigation">

              <li class="devnet"><a href="http://qt-project.org/">DEVNET</a></li>
<li class="forum"><a href="http://qt-project.org/forums/">FORUM</a></li>
<li class="wiki wiki-active"><a href="http://qt-project.org/wiki/">WIKI</a></li>
<li class="downloads"><a href="http://qt-project.org/downloads">DOWNLOADS</a></li>
<li class="groups"><a href="http://qt-project.org/groups">GROUPS</a></li>
<li class="contribute"><a href="http://qt-project.org/contribute">CONTRIBUTE</a></li>
<li class="tags"><a href="http://qt-project.org/tags">TAGS</a></li>
<li class="doc"><a href="http://qt-project.org/doc">DOC</a></li>

          </ul>
          <!-- End Main navigation -->
        </div>
        <div id="nav-main-right">
          <!-- EE Search box -->
          <form class="search_form" id="search_form" method="get" action="http://qt-project.org/search">          
            <div class="search-field">
              <input id="search" class="nav-main-search" value="" name="search" type="text">
            </div>
            <div class="nav-main-search-button">
              <input id="nav-main-search-button" class="qtcdk button white small" value="Search" type="submit">
            </div>
          </form>
        </div>
      </div>
	  <!-- End Header navigation area -->      
    </div>
  </div>

  <!-- Main content --> 
  <div class="page page-dynamicwidth "> 
    <div class="main col2-right-layout"> 
 


<div class="col-main-container col-main-container-dynwidth">
	        
		<div class="col-right sidebar social-enabled">


    
    <div class="socialwrap" id="socialwrap"><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#social-icons" class="toggle">Sharing</a></div>


	 <div class="block-square block-square-rating">
			<div class="square-content sidebar-shadow">
			
			<!-- Start tags -->
                <div id="tags">
					<h2>Tags <span><a href="http://qt-project.org/whatistags">what is this?</a></span> <span id="tagremove"><a title="Undo remove of tag?" id="undotagremovelink" href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#">Undo?</a></span></h2>
                        <div class="tags_list" id="tags_for_2860">
                            <ul>
							
								<li><a id="taglink_11240" class="tag" title="View apt-get" href="http://qt-project.org/search/tag/apt-get">apt-get</a></li>
                            
								<li><a id="taglink_582" class="tag" title="View installation" href="http://qt-project.org/search/tag/installation">installation</a></li>
                            
								<li><a id="taglink_1915" class="tag" title="View qt4" href="http://qt-project.org/search/tag/qt4">qt4</a></li>
                            
								<li><a id="taglink_20144" class="tag" title="View rasperry pi" href="http://qt-project.org/search/tag/rasperry~pi">rasperry pi</a></li>
                            
								<li><a id="taglink_587" class="tag" title="View tutorial" href="http://qt-project.org/search/tag/tutorial">tutorial</a></li>
                            
							</ul>
                        </div>
						                </div>
                <!-- End tags -->
				

                <!-- Start rating -->
				<div id="rating">
					<h2>Ratings <span><a href="http://qt-project.org/whatisratings">what is this?</a></span></h2>
					<ul class="ratebox">
						<li><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#" id="rate_count_button"><span id="current_rating">0</span></a></li>
					</ul>
					<input type="hidden" id="has_rated" value="n">
                    <input type="hidden" id="rate_xid" value="7f10a497191f71329b9fa7c14531042208fda931">

																<a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#loginsidebar" id="rate_button" title="You need to be logged in to rate"><img id="rate_button_img" style="padding-top:17px;" src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/rate-loggedout.png" alt=""></a>
									</div>
			</div>
    </div>
    <div>



 
	 <div class="block-square block-square-wiki">
			<div class="square-content sidebar-shadow">
                <h2>Wiki menu</h2>
                <form method="post" action="http://qt-project.org/wiki/Special:Search_results">
					<div>
                    <input type="hidden" name="XID" value="6de256e50f5cb91f258087c780abe24de90f3437">
                    <input type="text" id="keywords" class="input" style="margin-left:0;" name="keywords" title="" value="" maxlength="80">
                    <button type="submit" value="" class="qtcdk button white">Search</button>
					</div>
                </form>
				<ul class="list">
                <li><a href="http://qt-project.org/wiki/Special:Categories">Browse Wiki articles</a></li>
                <li><a href="http://qt-project.org/wiki/Special:Recentchanges">Recent Changes</a></li>
                                </ul>
				<ul class="menu">
				  				  					                                        <li><a class="qtcdk button white small" href="http://qt-project.org/wiki/diff/apt-get_Qt4_on_the_Raspberry_Pi">Article history</a></li>
                    <li><a class="qtcdk button white small report-content-link" href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#wiki_page:0">Report</a></li>
                  				</ul>
                            <ul class="menu">
                	<li class="small"><img src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/icon_rss.png" alt="RSS Feed"><a href="http://qt-project.org/wiki/Special:Recentchanges_RSS">RSS</a> / <a href="http://qt-project.org/wiki/Special:Recentchanges_Atom">Atom</a></li>
                	<li class="small"><img src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/icon_pdf.png" alt="PDF Export"><a href="http://qt-project.org/wiki/pdf/apt-get_Qt4_on_the_Raspberry_Pi">Export to PDF</a></li>
                </ul>
            				<div style="clear: both;">&nbsp;</div>
			</div>
	</div>
	
    

<!-- If user is logged in -->

	<!-- Block -->
	<div class="block rounded-sidebar">
			<div class="block-content">
            

            
                <form id="sidebar_login_form" name="secure" method="post" action="https://qt-project.org/">
<div class="hiddenFields">
<input type="hidden" name="XID" value="c14d5a8c669d8b7f91df85489070382e034be75c">
<input type="hidden" name="ACT" value="11">
<input type="hidden" name="RET" value="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi">
<input type="hidden" name="site_id" value="1">
</div>


            
				<div class="block-profile">
				  <p class="login" id="loginsidebar">Log in</p>
				  <p class="register"><a id="id-register-here-link" class="register-here-link" href="http://qt-project.org/member/register" style="">Register here!</a></p>
				</div>
				<ul class="form-list">
					<li>
						<label for="id_username_sidebar">Username:</label>
						<div class="input-box input-box-email">
							<input type="text" id="id_username_sidebar" name="username">
						</div>
					</li>
					<li>
						<label for="id_password_sidebar">Password:</label>
						<div class="input-box input-box-password">
							<input type="password" id="id_password_sidebar" name="password">
						</div>
					</li>
				</ul>
				<p class="forgot-link"><input id="id_autologin" type="checkbox" name="remember_me" value="1"><label for="id_autologin"> Keep me logged in for two weeks</label></p>
				<div class="sidecol-links-container">
					<div class="links-left">
						<p class="openid-link"><a href="http://qt-project.org/member/login">Login using OpenID</a></p>
						<p class="forgot-link"><a href="http://qt-project.org/member/forgot_password">Forgot your password?</a></p>
					</div>
					<div class="links-right">
						<button type="submit" class="qtcdk button white">Log in</button>
					</div>
				</div>
			</form>
			</div>
	
		<div class="block-separator"></div>
		<div class="block-content qtcdk">
			<h2>Stuff by staff</h2>
<p class="no-margin">Here you will find some useful pages.</p>
<ul class="no-margin">
        <li><a href="http://qt-project.org/wiki/WikiHelp">Wiki Help</a></li>
        <li><a href="http://qt-project.org/wiki/WikiSyntax">Wiki Syntax docs</a></li>
        <!-- <li><a href="#">Some other Wiki stuff</a></li> -->
</ul>

		</div>

		<div class="block-separator"></div>

		<div class="block-content qtcdk">
			<h2>Latest pages</h2>

			<ul class="no-margin">
				
    	        	<li><a href="http://qt-project.org/wiki/Webbrowser_Tutorial_German">Webbrowser_Tutorial_Germa...</a></li>
			    
    	        	<li><a href="http://qt-project.org/wiki/How_to_Use_QTextEdit_German">How_to_Use_QTextEdit_Germ...</a></li>
			    
    	        	<li><a href="http://qt-project.org/wiki/How_to_Use_QPushButton_German">How_to_Use_QPushButton_Ge...</a></li>
			    
    	        	<li><a href="http://qt-project.org/wiki/Qt-Version-Compatibility">Qt Version Compatibility</a></li>
			    
    	        	<li><a href="http://qt-project.org/wiki/Qt500_Bugfixes_RC2_vs_Final">Qt500_Bugfixes_RC2_vs_Fin...</a></li>
			    
			</ul>
		</div>

		<div class="block-separator"></div>

		<div class="block-content qtcdk">
			<h2>Top 10 categories</h2>
			<ol class="mar20left">
      
        <li><a href="http://qt-project.org/wiki/Category:Developing_with_Qt">Developing_with_Qt</a> ( 304 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:HowTo">HowTo</a> ( 302 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:snippets">snippets</a> ( 179 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:Tools">Tools</a> ( 131 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:Learning">Learning</a> ( 126 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:LanguageBindings">LanguageBindings</a> ( 110 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:LanguageBindings::PySide">PySide</a> ( 107 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:Developing_Qt">Developing_Qt</a> ( 105 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:Developing_with_Qt::Qt_Quick">Qt_Quick</a> ( 97 pages)</li>
      
        <li><a href="http://qt-project.org/wiki/Category:Spanish">Spanish</a> ( 77 pages)</li>
      
			</ol>
		</div>



  	</div>
    <!-- End Block -->

	</div>


	</div>

<!-- eof sidebar -->


	
	<div class="col-main col-main-rounded col-main-first">
                <!--[if gt IE 8]><div class="breadwrapper ie9"><![endif]-->
                <!--[if (!IE)|(!IE 9)]><!--><div class="breadwrapper"><!--<![endif]-->
		<div class="breadcrumbs">
			<ul>
				<li class="home"> <a href="http://qt-project.org/" title="Go to Home Page">Home</a> </li>
								<li class="separator">&nbsp;</li><li class="category5"><a href="http://qt-project.org/wiki">Wiki Home</a></li>
         
        <li class="separator">&nbsp;</li><li class="category5">apt get_Qt4_on_the_Raspberry_Pi</li>
         
								<li class="breadcrumbs-rightcorner">&nbsp;</li>
                                    <li class="breadcrumbs-wikilastedit">Last edit: December 17, 2012</li>
                			          </ul>
        </div>
	</div><!-- End Breadcrumbs IE9-fix wrapper -->
        <!-- End Breadcrumbs -->
        
    <!-- Main Content --> 
        <div class="col-main-wrapper" id="id-col-main-wrapper"> 

          <div class="content-view"> 
                
 			  <!-- Content full width --> 
              <div class="main-content-full">        


  				<!-- Wiki Section --> 
                <div id="wiki-section"> 

					<!-- Wiki article --> 
                    <div class="wiki-content qtcdk"> 

                        						

	 					
<div class="factbox right"><h3>Table of Content</h3><ul>
<li><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#96dde990694e787d6c0769c964fd0294">Tutorial  :  apt-get install Qt4 on the Rasperry Pi</a><ul>
<li><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#fcb10ad88a1d79b4c7acbf2c84695b9c">apt-get</a></li>
<li><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#8a7f03b826ef8f6918f58f4301c37d12">Problem : no toolchain. </a><ul>
<li><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#1c61f707c05cf2d7055eb7787e7a8348">I added a gcc toolchain</a></li>
<li><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#aa2c115a2618ccc108091992c2f93170">Qt Creator seems to detect that we are going to deploy on a remote target. </a></li></ul>
</li></ul>
</li></ul>
</div> 

	<a name="96dde990694e787d6c0769c964fd0294"></a>	<h1>Tutorial  :  apt-get install Qt4 on the Rasperry Pi</h1>

	<p>Using the Raspbian image</p>

	<a name="fcb10ad88a1d79b4c7acbf2c84695b9c"></a>	<h2>apt-get</h2>

	<p>Firstly I got the development tools needed by Qt Creator in the hope it would be less heavy for the Pi to download separately.<br>
</p><div class="cpp-qt geshi"><ol><li class="li1"><div class="de1">sudo apt<span class="sy0">-</span>get install qt4<span class="sy0">-</span>dev<span class="sy0">-</span>tools</div></li>
</ol></div><p></p>

	<p>Then I went for Qt Creator<br>
</p><div class="cpp-qt geshi"><ol><li class="li1"><div class="de1">sudo apt<span class="sy0">-</span>get install Qtcreator</div></li>
</ol></div><p></p>

	<p>I also installed<br>
</p><div class="cpp-qt geshi"><ol><li class="li1"><div class="de1">sudo apt<span class="sy0">-</span>get install gcc</div></li>
<li class="li1"><div class="de1">sudo apt<span class="sy0">-</span>get install xterm </div></li>
<li class="li1"><div class="de1">sudo apt<span class="sy0">-</span>get install git<span class="sy0">-</span>core </div></li>
<li class="li1"><div class="de1">sudo apt<span class="sy0">-</span>get install subversion</div></li>
</ol></div> <br>
this gives as a result Qt Creator 2.5 with Qt 4.8.1 32 bit<p></p>

	<a name="8a7f03b826ef8f6918f58f4301c37d12"></a>	<h2>Problem : no toolchain. </h2>

	<p>We can only compile for remote embedded devices and this is not the case here, because we are on the Pi and not remotely accessing it.</p>

	<a name="1c61f707c05cf2d7055eb7787e7a8348"></a>	<h3>I added a gcc toolchain</h3>

	<p>Options &gt; build &amp; run &gt; tab tool chain &gt; button add<br>
Choose <span class="caps">GCC</span>
	</p><ul>
		<li>Then set compiler path : /usr/bin/arm-linux-gnueabihf-gcc-4.6</li>
		<li>Debugger : /usr/bin/gdb</li>
		<li>Mkspec : default</li>
	</ul><p></p>

	<a name="aa2c115a2618ccc108091992c2f93170"></a>	<h3>Qt Creator seems to detect that we are going to deploy on a remote target. </h3>

	<p>To fix this :
	</p><ul>
		<li>Go to  menu help &gt; about plugins</li>
		<li>Uncheck device support &gt; remote linux</li>
		<li>Restart Qt Creator</li>
		<li>Go to tools &gt; options <span class="caps">TAB</span> &gt; build &amp; run &gt; Qt versions &gt; add “/usr/bin/qmake-qt4”</li>
	</ul><p></p>

	<p>It will then show up as a desktop project in the project wizard  instead of embedded.</p>



<!-- BEGIN 'Category' Namespace Stuff -->



                    </div> 
						
                <!-- END Wiki Section --> 
                </div> 

				<div class="wiki-copyright-message">
					<a href="http://creativecommons.org/licenses/by-sa/2.5/"><img src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/wiki-creativecommons.png" alt="Creative Commons Attribution-ShareAlike 2.5 Generic"></a>
					<p>Content is available under</p>
					<p><a href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 Generic</a></p>
				</div>

        	  </div> 
              <!-- End Content full width--> 
 
              <div class="clearfix">&nbsp;</div> 
              
          </div> 
        </div> 
        <!-- End Main Content --> 
        
       
      </div> 
      <!-- End Maincol content--> 
	 </div> 



</div>
 </div>

 <!-- Footer -->
 <div class="footer-wrapper">

   <div class="footer-container">
	<div id="footer" class="footer">
		<ul class="first">
            <li class="title"><a href="http://qt.digia.com/product">Qt Info</a></li>
            <li><a href="http://qt-project.org/downloads">Downloads</a></li>
            <li><a href="http://qt.digia.com/product">Features &amp; benefits</a></li>
            <li><a href="http://qt.digia.com/Product/Learning/Education">Qt in Education </a></li>
            <li><a href="http://qt.digia.com/Product/Learning">Learning Qt</a></li>
            <li><a href="http://qt.digia.com/About-us/Partners">Partnering</a></li>
        </ul>
        <ul>
            <li class="title"><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#">Tasks</a></li>
            <li><a href="http://qt.digia.com/">Purchasing Qt (Digia)</a></li>
            <li><a href="http://bugreports.qt-project.org/">Bug reporting</a></li>
            <li><a href="http://codereview.qt-project.org/">Code review</a></li>
            <li><a href="http://qt.gitorious.org/">Qt repositories (read-only)</a></li>
        </ul>
        <ul>
            <li class="title"><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#">Popular</a></li>
            <li><a href="http://qt-project.org/prereleases">Qt Previews and Betas</a></li>
            <li><a href="http://qt.digia.com/product/developer-tools">Qt Creator</a></li>
            <li><a href="http://qt-project.org/wiki/Qt_5.0">Qt Road map</a></li>
        </ul>
        <ul>
          <li class="title"><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#">Activity</a></li>
            <li><a href="http://blog.qt.digia.com/">Developer Blogs</a></li>
            <li><a href="http://qt-project.org/news">Official News</a></li>
            <li><a href="http://qt-project.org/meetups">Events</a></li>

        </ul>
        <ul class="last">
          <li class="title"><a href="http://qt.digia.com/about-us">Contact</a></li>
          <li><a href="http://qt-project.org/contact">Contact us</a> </li>
          <li>&nbsp;</li>
          <li><a href="http://twitter.com/qtproject">Qt on Twitter</a> / <a href="http://www.youtube.com/user/QtStudios">Youtube</a></li>
          <li><a href="https://www.facebook.com/qtbydigia">Facebook</a> / <a href="http://www.linkedin.com/groupInvitation?groupID=1531497">Linkedin</a></li>
        </ul>
        <div style="clear: both;">&nbsp;</div>
	</div>
</div>
<div class="copyright">
    <p>© 2011 Qt Project Hosting. Qt® and the Qt logo is a registered trade mark of Digia plc and/or its subsidiaries and is used pursuant to a license from Digia plc and/or its subsidiaries.<br>
	All other trademarks are property of their respective owners. <a href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a><br>
	This site is hosted by <a href="http://gitorious.org/">Gitorious AS.</a> Your use of this web site is governed by <a href="http://en.gitorious.org/tos/">these terms of service.</a></p>
	<p>Qt Project Hosting, P.O. Box 4332 Nydalen, 0402 Oslo, Norway. Phone: +47 21 60 27 32. Org. Nr. 997 447 913</p>
</div>

   <!-- End footer -->

 </div>
   </div>

   <script type="text/javascript" src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/jsapi"></script>

   <script type="text/javascript">
//<![CDATA[

 function searchStart(){$('.gsc-tabHeader:first').html("Qt Project");}

 google.load("jquery", "1.7.0");
 google.load("jqueryui", "1.8.16");

 var langObj = new Object();
 langObj.language = 'en';
 google.load('search', '1', langObj);


   var root_url = 'http://qt-project.org/';
   var path_site_index = 'http://qt-project.org/';
   var wiki_url = 'http://qt-project.org/wiki/';
   var notediff_url = root_url+'ajax/note_revision/';
   var js_ending = '0512201215101354716658-min.js';

   var ajax_userpoints_url = root_url+'ajax/userpoints';
   var registration_form_url = root_url+'embeds/registration_form_ajax';
   var valid_username_check_url = path_site_index+'?ACT=30' + String.fromCharCode(38) + 'method=username_available';
   var valid_email_check_url = path_site_index+'?ACT=30' + String.fromCharCode(38) + 'method=check_email';
   var validate_captcha_url = path_site_index+'?ACT=31';
   var get_url_title_url = root_url+'ajax/answers/get_url_title';
   var elearning_embed_browse_url = root_url + 'videos/embed_browse/';
   var recaptcha_key = '6LcbOM4SAAAAAL_DAiy3oQJd0qXuiBSac3ec22Re';
   var tag_separator = 'comma';
   var aid_delete_tag = '36';
   var aid_tag_entry = '40';
   var aid_most_popular_tags = '41';
   var aid_insert_tags = '34';
   var aid_report_content = '44';
   var aid_groups_remove_member = '89';
   var aid_groups_toggle_owner = '83';
   var aid_groups_ban_member = '81';
   var aid_groups_unban_member = '82';
   var aid_docmark_add = '102';
   var aid_docmark_remove = '103';
   var aid_groups_handle_join_request = '77';
   var aid_extended_ee_ajax_search = '139';
   var aid_doc_note_edit = '106';
   var aid_doc_get_page_info = '104';

   var aid_doc_note_revisions = '114';

   var aid_add_doc_note_rating = '108';
   var aid_doc_note_report = '109';

   var aid_acronymlist = '100';
   var aid_acronyminfo = '101';

   var aid_extended_wiki_tags_revision_data = '113';
   var aid_tag_autocomplete = '42';

   var tag_search_url = root_url+'search/tag/';
   var bulletin_url = root_url+'ajax/bulletin/';
   var wikidiff_url = root_url+'ajax/wikidiff/';

    var magical_xid = '56b79cf1a6166b19a6fdddae66a9c0678a5a957f';
    var current_segment_1 = 'wiki';
    var current_segment_2 = 'apt-get_Qt4_on_the_Raspberry_Pi';
    var current_segment_3 = '';

   var comment_edit_url = 'http://qt-project.org/?ACT=50';
   var aid_search_autocomplete = '110';

function loadTheJs()
{
    var loadjs = [];

       var section_js = ['forums','doc','tags','videos','groups','resources'];
       if(current_segment_1 == '') {
       	   loadjs.push('videos');
           loadjs.push('frontpage');
       } else if($.inArray(current_segment_1, section_js) > -1) {loadjs.push(current_segment_1);}

        if(current_segment_1 == 'wiki' || current_segment_2 == 'note_revisions' || current_segment_3 == 'wiki')
        {loadjs.push('wiki');}

        var qtjs;
        for(i=0; i < loadjs.length; i++) {
            qtjs = document.createElement('script');
            qtjs.src = ('/static/js/qtdn/'+loadjs[i]+'0512201215101354716658-min.js');
            qtjs.setAttribute('async', 'true');
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(qtjs);
        }
}

 google.setOnLoadCallback(function() {

     var globaljs = document.createElement('script');
     globaljs.src = ('/static/js/qtdn/global0512201215101354716658-min.js');
     globaljs.setAttribute('async', 'true');
     (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(globaljs);

  var customSearchControl = new google.search.CustomSearchControl('003672281345882769388:u4t3m237uh0');
	    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
	    customSearchControl.setSearchStartingCallback(this, searchStart);
        var options = new google.search.DrawOptions();
        options.setAutoComplete(true);
        customSearchControl.setLinkTarget(google.search.Search.LINK_TARGET_SELF);
        customSearchControl.draw('cse', options);


 });
//]]>
   </script><script src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/jquery.min.js" type="text/javascript"></script><script src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/jquery-ui.min.js" type="text/javascript"></script><script src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/saved_resource(1)" type="text/javascript"></script><link href="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/default+en.css" type="text/css" rel="stylesheet"><script src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/default+en.I.js" type="text/javascript"></script>

   <script type="text/javascript" src="./apt get_Qt4_on_the_Raspberry_Pi   Qt Wiki   Qt Project_files/fancybox0512201215101354716658-min.js"></script>


   


   
   
	  
<table cellspacing="0" cellpadding="0" style="width: 100%; display: none; top: -1px; position: absolute; left: 0px; " class="gstl_0 gssb_c"><tbody><tr><td class="gssb_f"></td><td class="gssb_e" style="width: 100%; "></td></tr></tbody></table><div style="display: none; z-index: 1000; outline: 0px; position: relative; " class="ui-dialog ui-widget ui-widget-content ui-corner-all report-link-dialog ui-draggable ui-resizable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-report-link-dialog"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"><span class="ui-dialog-title" id="ui-dialog-title-report-link-dialog">Report content</span><a href="http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div><div id="report-link-dialog" style="" class="ui-dialog-content ui-widget-content">

   <div style="display: none;" class="report-link-dialog-loading"></div>

   <div class="report-link-dialog-content">
   <p>You are about to flag this item as unappropriate.</p>
   <form id="report-content-form" action="http://qt-project.org/">
       <div>
       <input id="report_content_type" name="report_content_type" type="hidden" value="">
       <input id="report_content_id" name="report_content_id" type="hidden" value="test">
       <input id="report_content_url" name="report_content_url" type="hidden" value="">
       <textarea name="report_content_comment" id="report_content_comment" rows="5" cols="20"></textarea>
       </div>
   </form>
   </div>
   </div><div class="ui-resizable-handle ui-resizable-n" style=""></div><div class="ui-resizable-handle ui-resizable-e" style=""></div><div class="ui-resizable-handle ui-resizable-s" style=""></div><div class="ui-resizable-handle ui-resizable-w" style=""></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se ui-icon-grip-diagonal-se" style="z-index: 1001; "></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 1002; "></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 1003; "></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 1004; "></div><div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"><div class="ui-dialog-buttonset"><button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text">Cancel</span></button><button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text">Ok</span></button></div></div></div></body></html>